package com.fy.controller;

import com.fy.dao.AvatarMapper;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("avatar")
public class AvatarController {
    @Resource
    AvatarMapper avatarMapper;
    @PostMapping("insert")
    public int insert(String info_id,String id,String base,String url){
        return avatarMapper.insert(info_id,id,base,url);
    }
}
